export interface CategoryModel {
  id: number;
  name: string;
}

export type Numberable = number | undefined;

export interface CategoryIdsModel<T> {
  category1Id: T;
  category2Id: T;
  category3Id: T;
}

export interface Category extends CategoryIdsModel<Numberable> {
  category1List: CategoryListModel;
  category2List: CategoryListModel;
  category3List: CategoryListModel;
}

export type CategoryListModel = CategoryModel[];
